<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:pf="http://primefaces.org/ui">
    <h:head>
        <title>Registration</title>
        <link rel="stylesheet" href="styles/styles.css" type="text/css" />
    </h:head>
    <h:body>
        <f:view id="wholeView">
            <div class="headerWrapper">
                <ui:insert name="header" >
                    <ui:include src="/pages/common/header.xhtml" />
                </ui:insert>
            </div>
            
            <div id="registrationFormHolder">
            <h:form id="registrationForm" >     
                <h:panelGrid columns="1">
                    <pf:captcha label="Captcha" language="tr" theme="white" id="captcha"/>                    

                    <h:message for="captcha" class="errorMessage" />

                    <h:commandButton actionListener="#{registrationBean.process}"                                    
                                    value="Register"
                                    class="styled-button" />
                </h:panelGrid>
            </h:form>
            </div>
        </f:view>
    </h:body>
</html>

